struct PodStruct {
  int a;
  char b[256];
  bool c;
};

struct Book {
  char name[256]{"现代C++教程"};
  int year{2019};
  int pages{100};
  bool hardcover{true};
};

int main(int argc, char **argv) {
  PodStruct pod1{};           // 所有成员变量都被初始化为0
  PodStruct pod2{1, "hello"}; // 部分初始化, c 被清零; a=1, b="hello", c=false
  PodStruct pod3{1, "hello", true}; // 为所有成员变量赋值
  float a{1};
  float b{2};
  int result1 = a / b;
  int result2{a / b};
  return 0;
}
